package com.zr.repertory.inventorySettings.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class WarehousemarkUpdateVo {
    @NotNull(message = "库房标示id不能为空")
    private Integer warehousemarkid;//库房标示id

    @NotBlank(message = "库房标示名称不能为空")
    private String warehousemarkname;//库房标示名称
    @NotBlank(message = "库房标示编码不能为空")
    private String warehousemarkcode;//库房标示编码
    private String warehousemarkremark;//库房标示描述
    @NotNull(message = "库房标示状态不能为空")
    private Boolean warehousemarkstatus;//库房标示状态

    private String updatename;//修改名称
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date updatetime;//修改时间


}